#ifndef _INPUT_H_
#define _INPUT_H_

#include "../KeyCode.h"
#include "../JoyCode.h"

class Input
{
public:
	Input();

	bool getKeyState(KeyCode::Code key) const;
	bool getKeyTrigger(KeyCode::Code key) const;

	bool getJoyState(int joyNo, JoyCode::Code state)const;
	bool getJoyTrigger(int joyNo, JoyCode::Code state)const;
	void getJoyAxis(int joyNo, int* x, int* y, int* z);
private:
	Input(const Input& r);
	Input& operator=(const Input& r);
};

#endif